package calcInterfaceAbstract;

class AdvancedCalc extends OrdinaryCalc implements IAdvancedCalc{

    private int num3;

    public int getNum3() {
        return num3;
    }

    public void setNum3(int num3) {
        this.num3 = num3;
    }

    public double exp() {
        return Math.exp(num3);
    }

    public int decimalToOctal() {
        return Integer.decode(Integer.toOctalString(num3));
    }
}